module.exports = angular.module 'libs.configs.constant', []
.factory 'Constant', ($log)->
  $log.log 'constant init'
  class Constant
    constructor: ->
      @OPERATION_DOMAIN   = env_profile.domain.operation
      @PLATFORM           = env_profile.platform
      @H5URL              = env_profile.h5Url

      @WX_QR_CODE_PREFIX  = 'https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket='
      @QI_NIU_URL         = 'http://cdnimg.yihua.info'
      @QI_NIU_TOKEN_URL   = "#{@OPERATION_DOMAIN}/qiniu/upToken"
